<template>
	<view>
		<web-view ref="webview" :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
			}
		},
		onLoad(option) {
			this.url = option.url
		},
		mounted() {
			// this.printPage()
		},
		methods: {
			// printPage() {
			// 	let currentWebview = this.$scope.$getAppWebview()
			// 	currentWebview.evalJS("window.print();");
			// },
		}
	}
</script>

<style>

</style>
